﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using HNQXYJ.DAL;
using HNQXYJ.Model;
namespace HNQXYJ.BLL
{
    public  class HistoryInforBLL
    {
        public static DataTable GetHistoryInforTable(string procName, params SqlParameter[] paras)
        {
            DataTable dt = HistoryInforDAL.GetHistroyTable(procName, paras);
            return dt;
        }

       /// <summary>
        /// 历史信息分页
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="rankLevel"></param>
        /// <param name="rowCount"></param>
        /// <param name="pageCount"></param>
        /// <returns></returns>
        public List<HistoryInfor> GetDataPagedRankLevel(int pageIndex, int pageSize, string rankLevel, out int rowCount, out int pageCount)
        {
            List<HistoryInfor> list = new HistoryInforDAL().GetDataPagedRankLevel(pageIndex,pageSize,rankLevel,out rowCount,out pageCount);
            return list;
        }
    }
}